<template>
    <div class="mchtBanner padding_lr whiteBg">
        <tab-img :divStyle="0" :bannerArry='mchtBanner'></tab-img>
    </div>
</template>
<script>
    import getData2 from '../../service/getData2.js'
    import TabImg from './tabImg.vue'
    export default  {
        data: () => ({
          mchtBanner:[]
        }),
        components:{
            TabImg
        },
        created:function() {
            this.newMchtBanner();
        },
        methods:{
            //新商户速递广告
            newMchtBanner: function () {
                var self = this;
                getData2.newMchtBanner({}).then(function (rep) {
                    self.mchtBanner = rep.content;
                });
            }
        },
    }
</script>

<style lang="scss" scoped="scoped">
    .mchtBanner{
        width:100%;
        height:7rem;
        background-color:#ffffff;
        padding: .65rem;
        /*border-bottom:1px solid #eee;*/
        /*border-top:1px solid #eee;*/
    }
</style>